public class demo20 {
    public static void main(String[] args) {
        int n = 10;
        int i=9;
        int result=10;
        for (i = 9; i >= 1; i--) {
            System.out.println(result *= i);
        }

    }
}
